package com.ruoyi.common.model.farmer.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author huixh
 */
public class FarmerProductSpecValue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 外键，关联 `product_specifications` 表 */
    @Excel(name = "外键，关联 `product_specifications` 表")
    private Long specificationId;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specificationValue;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSpecificationId(Long specificationId)
    {
        this.specificationId = specificationId;
    }

    public Long getSpecificationId()
    {
        return specificationId;
    }
    public void setSpecificationValue(String specificationValue)
    {
        this.specificationValue = specificationValue;
    }

    public String getSpecificationValue()
    {
        return specificationValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("specificationId", getSpecificationId())
                .append("specificationValue", getSpecificationValue())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
